package com.study.manage.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.study.manage.domain.enumm.BlogWhitelistType;
import com.study.manage.domain.enumm.LiveDieState;

@Entity
@Table(name = "sa_blog_whitelist")
public class BlogWhitelist extends AbstractEntity {

    private static final long serialVersionUID = 3563292411872765209L;

    @Column(name = "typee")
    public BlogWhitelistType type = BlogWhitelistType.Dis;
    public Long blogId;
    public Long userId;
    public Boolean isSys = true;
    public LiveDieState state = LiveDieState.LIVE;

    public BlogWhitelist() {

    }

    public BlogWhitelist(Long id) {
        this.id = id;
    }
}
